﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccessObject.DAO
{
    public class NamHocDAO
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public List<NAMHOC> getAll()
        {
            using (QLHVEntities entities = new QLHVEntities())
            {
                return entities.NAMHOCs.ToList();
            }
        }
    }
}
